New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preliminary macOS 14 (Sonoma) support #15522
Conversation
Apart from a timeout with |
@@ -50,7 +50,9 @@ def self.latest_sdk_version | |||
|
|||
sig { returns(String) } | |||
def self.preferred_perl_version | |||
if version >= :big_sur | |||
if version >= :sonoma | |||
"5.34" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perl -V
gives me This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't actually use /usr/bin/perl
anymore - we now use /usr/bin/perl5.XX
. I think both 5.30 and 5.34 exist.
I lean on the newer one because we got caught out with Big Sur where 5.28 and 5.30 both shipped (and 5.28 was the default) but 5.28 was removed in 11.3.
5.34 technically existed in Ventura too but /System/Library/Perl/Extras/5.34
did not, so it wasn't a full installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right, makes sense. Yes, that's there and the paths in @INC
exist too.
@@ -337,6 +340,7 @@ def self.update_instructions | |||
sig { returns(String) } | |||
def self.latest_clang_version | |||
case MacOS.version | |||
when "14" then "1500.0.28.1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CLT currently has this string as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested at runtime with both packages from source and Ventura binaries; looking good so far.
Will tag a new release as A new brew release after WWDC is pretty standard by now anyway. |
Just to note here explicitly: All other gems seem to still work for now. If you're upgrading an existing install with Sorbet already installed, you may need to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @Bo98!
TODO: